﻿<Window x:Class="OptionsView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:SfTSQuickBoard"
    Title="Scrum for Team System Quickboard Options" Height="300" Width="481" WindowStyle="SingleBorderWindow" ResizeMode="NoResize" WindowStartupLocation="CenterOwner" Name="OptionsDialog" Icon="/SfTSQuickBoard;component/Graphics/table.ico">
    <Grid>
        <Button Height="19" Margin="0,0,96,12" Name="OkButton" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="78" Command="{Binding Path=OkCommand}">OK</Button>
        <Button Height="19" HorizontalAlignment="Right" Margin="0,0,12,12" Name="CancelButton" VerticalAlignment="Bottom" Width="78" Command="{Binding Path=CancelCommand}">Cancel</Button>
        <ComboBox Height="23" Margin="87,14,17,0" Name="TFSServerComboBox" VerticalAlignment="Top" ItemsSource="{Binding Path=TFSServers}" SelectedValue="{Binding Path=TFSServer}" local:SelectionBehavior.SelectionChanged="{Binding TFSServerSelectedCommand}"  />
        <ComboBox Height="23" Margin="87,43,17,0" Name="ProjectComboBox" VerticalAlignment="Top" ItemsSource="{Binding Path=TFSProjects}" SelectedValue="{Binding Path=TFSProject}" local:SelectionBehavior.SelectionChanged="{Binding TFSProjectSelectedCommand}"/>
        <ComboBox Height="23" Margin="87,72,17,0" Name="IterationComboBox" VerticalAlignment="Top" ItemsSource="{Binding Path=TFSIterations}" SelectedValue="{Binding Path=TFSIteration}"/>
        <CheckBox Margin="104,114,0,131" Name="AutoRefreshCheckBox" IsChecked="{Binding Path=AutoRefresh}">Auto Refresh?</CheckBox>
        <Label HorizontalAlignment="Left" Margin="12,43,0,0" Name="Label1" Width="97" Height="23" VerticalAlignment="Top">Project</Label>
        <Label Height="23" HorizontalAlignment="Left" Margin="12,14,0,0" Name="Label2" VerticalAlignment="Top" Width="97">TFS Server</Label>
        <Label Margin="104,0,77,102" Name="Label3" Height="23" VerticalAlignment="Bottom">Interval (Minutes):</Label>
        <Label Height="23" HorizontalAlignment="Left" Margin="12,72,0,0" Name="Label4" VerticalAlignment="Top" Width="97">Sprint</Label>
        <Slider Height="34" Margin="104,0,13,72" Name="IntervalSlider" VerticalAlignment="Bottom" Minimum="10" Maximum="240" TickPlacement="Both" SmallChange="1" TickFrequency="5" IsSnapToTickEnabled="True" AutoToolTipPlacement="TopLeft" LargeChange="10" Value="{Binding Path=RefreshIntervalSeconds}" />
    </Grid>
</Window>
